#ifndef TABLE_DATA_H_
#define TABLE_DATA_H_
#include "shape.h"
#include "shape1.h"
#include "shape2.h"
#include "shape3.h"
#include "shape4.h"
#include "shape5.h"
#include "shape6.h"
#include "shape7.h"

namespace Tetris{

class Table{
public:
	static const int BLOCK_SIZE = 25;
	static const int ROW = 20;
	static const int COL = 10;
private:
	unsigned char* p_arr;
public:
	Table();
	void SetVal(int x,int y,unsigned char val);
	unsigned char GetVal(int x,int y) const;
private:
	void clear();
};

}
#endif
